package sync_log

type ListRequest struct {
	Page  int `form:"page" binding:"required" validate:"required"`
	Limit int `form:"limit" binding:"required" validate:"required"`
}

type ListResponse struct {
	List  []SyncLog `json:"list"`
	Total int64     `json:"total"`
	Page  int       `json:"page"`
	Limit int       `json:"limit"`
}

type SyncLog struct {
	Id         int    `json:"id"`
	Date       string `json:"date"`
	TotalNum   int    `json:"total_num"`
	SuccessNum int    `json:"success_num"`
	ErrorNum   int    `json:"error_num"`
	Status     int    `json:"status"`
	Type       int    `json:"type"`
}
